#ifndef USERDOWN_H
#define USERDOWN_H

#include <QThread>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkAccessManager>
#include <QVariant>
#include <qdebug.h>
#include <QXmlStreamAttributes>
#include "datebase.h"
#include "systemfile.h"

class UserDown : public QThread
{
    Q_OBJECT
public:
    explicit UserDown(datebase *db,QObject *parent = 0);

private:
    datebase *user_mydb;
private slots:
    QString downUserStr(QString max_updated_at);
    bool Producer_WebUserMessage(QNetworkReply *reply);
signals:
   // void MsgSignal(bool);
public slots:
    void down_user();
protected:
    void run();

};

#endif // USERDOWN_H
